<div class="nav-sub w1180">
	<ul class="zoom">
		<li><a href="/crm/product/list">商品列表</a></li>
<!-- 		<li><a class="on" href="/crm/product/cate-list">商品分类列表</a></li> -->
	</ul>
</div>
<div class="main-ct w1180">
	<a href="javascript:history.go(-1);" class="btn-cs btn-blue btn-fillet mt10">返 回</a>
<form id="commonForm" method="post" action="/crm/product/insert-cate">
	<div class="form-info mt20">
	
		<dl>
			<dt>商户名称：</dt>
			<dd>
    			<select name="org_id" id="org_id">
    			<?php if ($this->organization):?>
				<?php foreach ($this->organization as $k=>$v):?>
    				<option value="<?php echo $v['org_id']; ?>"><?php echo $v['org_title']; ?></option>
    			<?php endforeach; ?>
    			<?php else:?>
    				<option value="">请选择</option>
				<?php endif;?>		
    			</select>
			</dd>
		</dl>
		<dl>
			<dt>商品分类名称：</dt>
			<dd><input type="text" class="txt" name="category_name" id="category_name"></dd>
		</dl>
	</div>
	<p class="mt30 txt-center">
		<input class="input-cs btn-fillet btn-green" type="submit" value="确定" />
		<input class="input-cs btn-fillet mr20" type="reset" value="取消" />
	</p>
</form>
</div>

<script type="text/javascript">
    $().ready(function() {
		$("#commonForm").validate({
			debug:true,
			rules: {
				category_name: {
					required: true,
				},
		
			},
    		submitHandler:function(form){ 
    	            form.submit();
    	    }   
		});

	});
</script>